package com.qimou.iems.mapper;

import com.qimou.iems.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Qimou Xie
 * @date 2018/3/17 17:14.
 **/
public interface IDepartmentMapper {


    void insert(Department department);


    void update(Department department);


    List<Department> selectDepartment(Map<String,Object> map);


    int countDepartment(Map<String,Object> map);


    List<Department> selectDepartmentByCompany(@Param("companyId") Integer companyId);


}
